package studio.raptor.extractor.segment.entity;

/**
 * Created by liuyong8 on 2017/7/17.
 */
public class EventMeta {
  private Long metaId;
  private Integer eventKindId;
  private String deliverTime;
  private String objectKey;
  private Integer eventType;
  private Long regionId;
  private String beginTime;
  private String finishTime;
  private Integer retryTimes;
  private String status;
  private String orderTypeId;
  private String offerIds;
  private String prodIds;
  private String serviceOfferIds;
  private String offerSpecAttr;
  private String serviceSpecAttr;
  private Long[] custId;
  private Long[] acctId;
  private Long[] prodInstId;
  private Long[] offerInstId;
  private Long [] offerProdId;
  private String remark;
  private String content;



  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    EventMeta eventMeta = (EventMeta) o;

    return metaId.equals(eventMeta.metaId);
  }

  @Override
  public int hashCode() {
    return metaId.hashCode();
  }

  public Long getMetaId() {
    return metaId;
  }

  public void setMetaId(Long metaId) {
    this.metaId = metaId;
  }

  public Integer getEventKindId() {
    return eventKindId;
  }

  public void setEventKindId(Integer eventKindId) {
    this.eventKindId = eventKindId;
  }

  public String getDeliverTime() {
    return deliverTime;
  }

  public void setDeliverTime(String deliverTime) {
    this.deliverTime = deliverTime;
  }

  public String getObjectKey() {
    return objectKey;
  }

  public void setObjectKey(String objectKey) {
    this.objectKey = objectKey;
  }

  public Integer getEventType() {
    return eventType;
  }

  public void setEventType(Integer eventType) {
    this.eventType = eventType;
  }

  public Long getRegionId() {
    return regionId;
  }

  public void setRegionId(Long regionId) {
    this.regionId = regionId;
  }

  public String getBeginTime() {
    return beginTime;
  }

  public void setBeginTime(String beginTime) {
    this.beginTime = beginTime;
  }

  public String getFinishTime() {
    return finishTime;
  }

  public void setFinishTime(String finishTime) {
    this.finishTime = finishTime;
  }

  public Integer getRetryTimes() {
    return retryTimes;
  }

  public void setRetryTimes(Integer retryTimes) {
    this.retryTimes = retryTimes;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public String getOrderTypeId() {
    return orderTypeId;
  }

  public void setOrderTypeId(String orderTypeId) {
    this.orderTypeId = orderTypeId;
  }

  public String getOfferIds() {
    return offerIds;
  }

  public void setOfferIds(String offerIds) {
    this.offerIds = offerIds;
  }

  public String getProdIds() {
    return prodIds;
  }

  public void setProdIds(String prodIds) {
    this.prodIds = prodIds;
  }

  public String getServiceOfferIds() {
    return serviceOfferIds;
  }

  public void setServiceOfferIds(String serviceOfferIds) {
    this.serviceOfferIds = serviceOfferIds;
  }

  public String getOfferSpecAttr() {
    return offerSpecAttr;
  }

  public void setOfferSpecAttr(String offerSpecAttr) {
    this.offerSpecAttr = offerSpecAttr;
  }

  public String getServiceSpecAttr() {
    return serviceSpecAttr;
  }

  public void setServiceSpecAttr(String serviceSpecAttr) {
    this.serviceSpecAttr = serviceSpecAttr;
  }

  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  public Long[] getCustId() {
    return custId;
  }

  public void setCustId(Long[] custId) {
    this.custId = custId;
  }

  public Long[] getAcctId() {
    return acctId;
  }

  public void setAcctId(Long[] acctId) {
    this.acctId = acctId;
  }

  public Long[] getProdInstId() {
    return prodInstId;
  }

  public void setProdInstId(Long[] prodInstId) {
    this.prodInstId = prodInstId;
  }

  public Long[] getOfferInstId() {
    return offerInstId;
  }

  public void setOfferInstId(Long[] offerInstId) {
    this.offerInstId = offerInstId;
  }

  public Long[] getOfferProdId() {
    return offerProdId;
  }

  public void setOfferProdId(Long[] offerProdId) {
    this.offerProdId = offerProdId;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  @Override
  public String toString() {
    return "EventMeta{" + "metaId=" + metaId + ", eventKindId=" + eventKindId + ", deliverTime='"
        + deliverTime + '\'' + ", objectKey='" + objectKey + '\'' + ", eventType=" + eventType
        + ", regionId=" + regionId + ", beginTime='" + beginTime + '\'' + ", finishTime='"
        + finishTime + '\'' + ", retryTimes=" + retryTimes + ", status='" + status + '\''
        + ", orderTypeId='" + orderTypeId + '\'' + ", offerIds='" + offerIds + '\'' + ", prodIds='"
        + prodIds + '\'' + ", serviceOfferIds='" + serviceOfferIds + '\'' + ", offerSpecAttr='"
        + offerSpecAttr + '\'' + ", serviceSpecAttr='" + serviceSpecAttr + '\'' + ", remark='"
        + remark + '\'' + '}';
  }
}
